package componenti.statistica;

import java.io.Serializable;

public class CoppiaIperesponenziale implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -8855928005485514711L;
	private double alfa;
	private Esponenziale exp;
	
	public CoppiaIperesponenziale(double alfa, Esponenziale exp) {
		super();
		this.alfa = alfa;
		this.exp = exp;
	}

	public double getAlfa() {
		return alfa;
	}

	public void setAlfa(double alfa) {
		this.alfa = alfa;
	}

	public Esponenziale getExp() {
		return exp;
	}

	public void setExp(Esponenziale exp) {
		this.exp = exp;
	}
	
	public void setLambdaExp(double lambda){
		exp.setTasso(lambda);
	}
	
	public double getLambdaExp(){
		return exp.getTasso();
	}

}
